
- 
    hotTags = hotTags || [
        {key: 'cn', value: '全国'}, 
        {key: 'guiyang', value: '贵阳'}, 
        {key: 'lps', value: '六盘水'}, 
        {key: 'zunyi', value: '遵义'}, 
        {key: 'tongren', value: '铜仁'},
    ]
    areaTags = areaTags || [
        {key: 'guiyang', value: '贵阳'}, 
        {key: 'lps', value: '六盘水'}, 
        {key: 'zunyi', value: '遵义'}, 
        {key: 'tongren', value: '铜仁'},
        {key: 'qxn', value: '黔西南'},
        {key: 'bijie', value: '毕节'},
        {key: 'anshun', value: '安顺'},
        {key: 'qdn', value: '黔东南'},
        {key: 'qiannan', value: '黔南'},
    ]

    imagePrefix = ssr ? 'http://www.chehangjia.cn:9003/assets/' : '../../'

.top
    .top-bar
        .layui-container
            .left
                span 放心买卖二手车，就上车行家！
                a(href="http://shangjia.chehangjia.cn/login") 控制台
            .right
    .header.layui-container.clearfix
        .logo
            +logo(imagePrefix + "image/static/sc_logo_small.jpg", 'http://www.chehangjia.cn')(class="sc-logo")
            .area-select.col#area_hover_hook
                .text-wrap
                    span#area_value_hook 
                    i.select-icon
                .area-drop-down#area_dorp_hook
                    .panel
                    ul.hot-tag
                        li.hot-tag-item.tag-label 热门
                        each item in hotTags
                            li.hot-tag-item.tag-hook(data-value=item.key)=item.value
                    ul.tags
                        each item in areaTags
                            li.tag-item.tag-hook(data-value=item.key)=item.value
            img.col.logo-title(src=imagePrefix + "image/static/logoTitle.png") 
        .search
            .search-box.col
                form#search_form(action="")
                .type-select.col
                    span#type_value_hook 汽车
                    i.select-icon 
                    dl.drop-down
                        dd.drop-item.search_type_hook(data-text="奥迪 08款 2.4L 尊贵型 24万元 10万公里" data-type="1") 汽车
                        dd.drop-item.search_type_hook(data-text="查找商铺" data-type="2") 商铺
                input.search-input.col#search_input_hook(placeholder="奥迪 08款 2.4L 尊贵型 24万元 10万公里")
                .hot-tag.col
                    a.tag.search_tag_hook 奥迪
                    a.tag.search_tag_hook 雪佛兰
                    a.tag.search_tag_hook 宝马
                    a.tag.search_tag_hook 大众
            .search-btn.col#search_submit_hook
                <svg t="1551274254726" class="search-icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1102" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20"><defs><style type="text/css"></style></defs><path d="M950.149059 908.196531 679.876679 636.272351c50.381475-60.327994 80.71249-137.979538 80.71249-222.724641 0-192.031595-155.671717-347.704097-347.719367-347.704097-192.032299 0-347.704017 155.671479-347.704017 347.704097 0 192.032618 155.67274 347.704097 347.704017 347.704097 87.264988 0 167.015531-32.148188 228.067457-85.23936l269.864065 271.526113c10.863864 10.865465 28.481825 10.865465 39.347735 0C961.001666 936.672072 961.001666 919.063019 950.149059 908.196531zM412.869802 706.07923c-161.553922 0-292.531226-130.970914-292.531226-292.532543 0-161.559583 130.977303-292.533566 292.531226-292.533566 161.579506 0 292.559879 130.97296 292.559879 292.533566C705.428658 575.108317 574.448284 706.07923 412.869802 706.07923z" p-id="1103"></path></svg>

